package org.example.user.service;

import com.mybatisflex.core.paginate.Page;
import org.example.user.dto.AssignAclDTO;
import org.example.user.dto.CreateAclDTO;
import org.example.user.dto.UpdateAclDTO;
import org.example.user.dto.AclQueryDTO;
import org.example.user.entity.SysAclEntity;
import org.example.user.vo.SysAclVO;


import org.example.user.entity.SysAclEntity;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 权限表 服务层。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
public interface ISysAclService extends IService<SysAclEntity> {
    int createAcl(CreateAclDTO createAclDTO);
    int updateAcl(UpdateAclDTO updateAclDTO);
    int deleteAcl(Long aclId);
    Page<SysAclVO> pageList(AclQueryDTO aclQueryDTO);
    SysAclVO getAclDetail(Long aclId);
    List<SysAclVO> getAclTree();
    int linkMenu(Long aclId, Long menuId);
}